package org.woozoo.xhtml.unittests.selectorsuite.selector
{
	import org.flexunit.asserts.assertTrue;
	import org.woozoo.xhtml.unittests.selectorsuite.Case1;

	public class NotCase extends Case1
	{
		[Test(order=1)]
		public function findElementNotDiv() : void {
			var res : Boolean = true;
			results = document.$$('*:not(div)');
			for (var i : int = 0; i < results.length; i++) {
				if (results[i].tagName == 'div') {
					res = false;
				}
			}
			assertTrue(res);
		}
	}
}